package com.hitgo.soccer.config;

import org.apache.log4j.PropertyConfigurator;

public class ConfigManager
{
	public static void loadConfig(String path)
	{
		PropertyConfigurator.configure(path + "conf/log4j.properties");
		ServerConfig.loadConfig(path + "conf/server.xml");
		MatchConfig.loadConfig(path + "conf/match.xml");
		PlayerConfig.loadConfig(path + "conf/players.xml");
		PositionConfig.loadConfig(path + "conf/position.xml");
		PropsConfig.loadConfig(path + "conf/props.xml");
	}	
}
